-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support seeking also from the end of file on S3 storage #28802
Conversation
The PR nextcloud#20033 added support for `fseek` for the S3 storage backend. However, the seek mode SEEK_END was left out that time. This PR fills this gap. Signed-off-by: Pauli Järvinen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
Failure unrelated |
does it make sense to backport? |
In my opinion, yes. This fixes an actual problem, and the patch should be applicable all the way starting from NC17. |
So who should decide if this gets backported? |
/backport to stable22 |
/backport to stable21 |
/backport to stable20 |
The PR #20033 added support for
fseek
for the S3 storage backend. However, the seek mode SEEK_END was left out that time. This PR adds this support.The motivation for this was that the getID3 library uses the seek mode SEEK_END and doesn't work properly without it. After the PR JamesHeinrich/getID3#328 got merged, the getID3 library no longer works at all on file system where
fseek
returns error with any used seek mode. This was the root cause for the issue owncloud/music#887.